package com.dongdongshop.vo;

import com.dongdongshop.pojo.TbOrderItem;

import java.io.Serializable;
import java.util.List;

public class CartVo implements Serializable {
//    商家Id
    private String sellerId;
//    商家名字
    private String sellerName;
//    商品详情
    private List<TbOrderItem> cartDetailList;

    public CartVo(String sellerName, List<TbOrderItem> cartDetailList) {
        this.sellerName = sellerName;
        this.cartDetailList = cartDetailList;
    }

    public CartVo(String sellerId, String sellerName, List<TbOrderItem> cartDetailList) {
        this.sellerId = sellerId;
        this.sellerName = sellerName;
        this.cartDetailList = cartDetailList;
    }

    public String getSellerId() {
        return sellerId;
    }

    public void setSellerId(String sellerId) {
        this.sellerId = sellerId;
    }

    public CartVo() {
    }

    public String getSellerName() {
        return sellerName;
    }

    public void setSellerName(String sellerName) {
        this.sellerName = sellerName;
    }

    public List<TbOrderItem> getCartDetailList() {
        return cartDetailList;
    }

    public void setCartDetailList(List<TbOrderItem> cartDetailList) {
        this.cartDetailList = cartDetailList;
    }
}
